﻿using System;
using System.Runtime.Serialization;

namespace Cognize.GoogleSearchAPIIntegration
{
    [DataContract]
    public class Results
    {
        private string _GsearchResultClass;
        private string _unescapedUrl;
        private string _url;
        private string _visibleUrl;
        private string _cacheUrl;
        private string _title;
        private string _titleNoFormatting;
        private string _content;

        [DataMember]
        public string GsearchResultClass
        {
            get { return _GsearchResultClass; }
            set { _GsearchResultClass = value; }
        }

        [DataMember]
        public string unescapedUrl
        {
            get { return _unescapedUrl; }
            set { _unescapedUrl = value; }
        }

        [DataMember]
        public string url
        {
            get { return _url; }
            set { _url = value; }
        }

        [DataMember]
        public string visibleUrl
        {
            get { return _visibleUrl; }
            set { _visibleUrl = value; }
        }

        [DataMember]
        public string cacheUrl
        {
            get { return _cacheUrl; }
            set { _cacheUrl = value; }
        }

        [DataMember]
        public string title
        {
            get { return _title; }
            set { _title = value; }
        }

        [DataMember]
        public string titleNoFormatting
        {
            get { return _titleNoFormatting; }
            set { _titleNoFormatting = value; }
        }

        [DataMember]
        public string content
        {
            get { return _content; }
            set { _content = value; }
        }

    }
}